package com.fitbet.entity.trading;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author mohanlan
 *
 */
@Alias("OrderStatus")
public enum OrderStatus {
    
    CREATED("created", "已创建"),
    
    PROCESSING("processing", "进行中"),
    
    FINISH("finish", "已完成"),
    
    CANCEL("cancel", "用户取消"),
    
    SYSTEM_CANCEL("systemCancel", "系统取消");
    
    private String alias;
    
    private String description;
    
    private OrderStatus(String alias, String description) {
        this.alias = alias;
        this.description = description;
    }
    
    /**
     * 
     * @return
     */
    public String getAlias() {
        return alias;
    }
    
    /**
     * 
     * @return
     */
    public String getDescription() {
        return description;
    }
    
}
